TrimSrf2Polygons
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
TrimSrf2Polygons()
SYNOPSIS
trim_lib/trim2ply.c:56
CagdPolygonStruct *TrimSrf2Polygons(TrimSrfStruct *TrimSrf,
int FineNess,
CagdBType ComputeNormals,
CagdBType ComputeUV)
DESCRIPTION
Routine to convert a single trimmed surface to set of triangles
approximating it.
FineNess is a fineness control on result and the larger it is more
triangles may result.
A value of 10 is a good starting value.
NULL is returned in case of an error, otherwise list of CagdPolygonStruct.
PARAMETERS:
Srf: To approximate into triangles.
FineNess: Control on accuracy, the higher the finer.
ComputeNormals: If TRUE, normal information is also computed.
ComputeUV: If TRUE, UV values are stored and returned as well.
FUNCTION RETURN VALUE
CagdPolygonStruct *: A list of polygons with optional normal and/or
UV parametric information.
NULL is returned in case of an error.
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:09 GMT, October 17, 2022